home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
tools
/
czesc_1
/
executive_v1.00
/
sysinfo.lzx
/
examples
/
uptime
/
Makefile
< prev
next >
Wrap
Makefile
|
1990-09-29
|
856b
|
42 lines
#
# MakeFile for sysinfo.library/uptime
#
# This file is public domain.
#
# Author: Petri Nordlund <petrin@mits.mdata.fi>
#
# $Id: MF.compile 1.1 1995/05/28 00:03:06 petrin Exp petrin $
#
# To compile uptime with multiuser.library support, you must have
# installed the Multiuser package, specifically the include-files.
# You'll also need GCC:lib/libmultiuser.a which is a small stub-library,
# see GCC:geninline/ for information how to generate it.
# Uncomment to include multiuser-support
#MULTIUSER = -DUSE_MULTIUSER -lmultiuser
CFLAGS = $(BUILD_GCC_OPT)
SHELL = USR:BIN/sh
# Source files
SRCS = uptime.c
# Object files
OBJS = $(SRCS:.c=.o)
PROG = uptime
all : $(PROG)
$(PROG) : uptime.o
gcc $(CFLAGS) -o $(PROG) $^ -lamiga -lauto -lsysinfo $(MULTIUSER)
uptime.o : uptime.c
gcc $(CFLAGS) -c uptime.c
clean:
-delete uptime uptime.o